{% extends  'nav_base.html' %}
{% block  left_content %}
<div class="panel panel-default">
        <div class="panel-body">
            {% if  messsge %}

            <ul class="list-group">

                        <li class="list-group-item info">{{ messsge }}</li>

                        <!--li class="list-group-item info"></li-->

                </ul>

            {% endif %}
            <form method="post" action="/user/login/">
                {% csrf_token %}
                <div class="form-group">
                    <label for="usernameInput">账号</label>
                    {{ login.username  }}
                      </div>
                <div class="form-group">
                    <label for="InputPassword1">密码</label>
                  {{ login.password  }}
                        </div>
                <button type="submit" class="btn btn-default">提交</button>
            </form>
        </div>
    </div>

{% endblock %}
